<%@ page language="java" contentType="text/html;charset=utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="zh-cn" class="no-js">
<!--<![endif]-->
<head>
<style type="text/css">
	#bgMaster
	    {
	        display:none;    
	        position:fixed;    
	        _position:absolute;   
	        height:100%;    
	        width:100%;    
	        top:0;    
	        left:0;    
	        background:#000000;    
	        border:1px solid #cecece;    
	        z-index:100;    
	    }    
</style>
<jsp:include page="../common/common.jsp" />
<link rel="stylesheet" type="text/css"
	href="${path}/assets/plugins/select2/select2.css" />
<link rel="stylesheet" type="text/css"
	href="${path}/assets/plugins/select2/select2-metronic.css" />
</head>


<body class="page-header-fixed">
	<script type="text/javascript" src="${path }/layer/layer.js"></script>
	<!-- BEGIN HEADER -->
	<jsp:include page="../common/header.jsp" />
	<div class="clearfix"></div>
	<!-- BEGIN CONTAINER -->
	<div class="page-container">
		<div class="page-sidebar-wrapper"><jsp:include
				page="../common/menu.jsp" /></div>
		<div class="page-content-wrapper">
			<div class="page-content">
				<!-- BEGIN PAGE CONTENT-->
				<div class="row">
					<div class="col-md-12">
						<!-- BEGIN EXAMPLE TABLE PORTLET-->
						<div class="portlet box purple">
							<div class="portlet-title">
								<div class="caption">
									<i class="fa fa-file-text-o"></i> 提现列表
								</div>
								<%-- <div class="tools">
									<c:if test="${iTotalRecords<1}"><div id="actions" class="actions">
										<a href="${path}/applyCash/edit" class="btn green"><i
											class="fa fa-plus">创建直播间</i></a></c:if>
									</div>
								</div>--%>
							</div>
							<div class="portlet-body">
								<form id="formQuery" class="form-horizontal"
									action="${path}/applyCash/list">
									<div class="form-body">
										<div class="form-group">
												<label class="col-md-1 control-label">用户昵称:</label>
												<div class="col-md-2">
													<input type="text" id="userNickName" name="userNickName"
														class="form-control" />
												</div>
												<label class="col-md-1 control-label">申请时间:</label>
												<div class="col-md-4">
													<div
														class="input-group input-large date-picker input-daterange"
														data-date-format="yyyy-mm-dd">
														<input type="text" class="form-control" id="fromDate"
															name="fromDate" value="${fromDate}" readonly="readonly"
															onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" />
														<span class="input-group-addon">to</span> <input
															type="text" class="form-control" id="toDate" name="toDate"
															value="${toDate}" readonly="readonly"
															onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" />
													</div>
												</div>
										
												<label class="col-md-1 control-label">状态:</label>
												<div class="col-md-2" style="width: 140px;">
													<select name="status" id="status" class="form-control">
														<option value="">请选择</option>
														<option value="1">已申请</option>
														<option value="2">提现成功</option>
														<option value="3">提现失败</option>
													</select>
												</div>
												<div class="col-md-1">
													<button type="button" class="btn green" onclick="getapplyCashList()">查询</button>
												</div>
											</div>
									</div>
										<span style="color: red;font-size: 20px;">  今天总进账${money1} ，  今天新增提现 ${money2} ，今日分佣${money3} </span>
								</form>
								<table class="table table-striped table-bordered table-hover"id="applyCashList"></table>
							</div>
							
									
						</div>
					</div>
				</div>
			</div>
		</div>
		<input type="hidden" id="username" name="username" value="${user.username}"> 
		<input type="hidden" id="roleid" name="roleid" value="${roleid}">
		<input type="hidden" id="isshow" name="isshow">
	</div>
	<jsp:include page="../common/footer.jsp" />
<script type="text/javascript" src="${path}/assets/plugins/select2/select2.min.js"></script>
<script type="text/javascript" src="${path}/operate/js/applyCash.js"></script>
<script type="text/javascript"
		src="${path}/assets/plugins/calendar/WdatePicker.js"></script>
<script>
var msg = '${msg}';
$(function() {
	if (msg)
		App.bubble(200, msg);
	getapplyCashList();
});
</script>
</body>
<!-- END BODY -->
</html>